import { baseService } from '@/request';

// 获取园区预警信息
export function getYjList<T>(params?: T) {
  return baseService({
    url: 'warning/getParkBuildingTopData',
    method: 'get',
    params,
  });
}
// 获取园区预警排行榜
export function getRankList<T>(params?: T) {
  return baseService({
    url: 'warning/getParkBottomData',
    method: 'get',
    params,
  });
}
// 获取园区预警marker
export function getMarker<T>(params?: T) {
  return baseService({
    url: 'warning/getWarningParkBuildingInfo',
    method: 'get',
    params,
  });
}
// 获取园区预警排行榜
export function getHouseList<T>(params?: T) {
  return baseService({
    url: 'warning/getBuildingBottomData',
    method: 'get',
    params,
  });
}
